package com.minivision.fdiot.repository.mysql;

import com.minivision.fdiot.entity.DeviceFaceSet;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

public interface DeviceFaceSetRepository extends JpaRepository<DeviceFaceSet, Long> {
  List<DeviceFaceSet> findBySnOrderByPriorityAsc(String sn);

  long deleteBySn(String sn);
}
